/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package deatax.network;

/**
 * All messages sent to the server are echoed to the clients
 * @author pson
 */
public class Messages {
    
    //a new client has joined the game
    public final static int NEW_CLIENT = 1;
    //a client has disconnected
    public final static int DC_CLIENT = 2;
    //send client name and colour
    public final static int CLIENT_NAME = 3;
    //send to the client what number in the list they are
    public final static int CONNECT_DETAILS = 4;
    //send the map details to the client. This will be a seed used to generate the map.
    public final static int MAP_DEFINE = 5;
    //send the list of player names and colors
    public final static int PLAYER_SET = 6;
    
    
    public final static int LOG = 7;
    
    public final static int BUILD = 8;
    
    public final static int CLAIM = 9;
    
    public final static int RESOURCE = 10;
    
    public final static int UNIT = 11;
    
    public final static int END_TURN = 12;
    
    public final static int POPULATION = 13;
    
    public final static int WINNER = 14;
    
    public final static int LOSER = 15;
    
}
